#ifndef __MYTREECTRL_H__
#define __MYTREECTRL_H__

#include "wx/treectrl.h"
#include "wx/generic/treectlg.h"
#include "myTreeItemData.h"

class MyTreeCtrl : public wxTreeCtrl{
    public:
        MyTreeCtrl();
        MyTreeCtrl(wxWindow*, const wxPoint&, const wxSize&, long style = wxTR_DEFAULT_STYLE);
        ~MyTreeCtrl();

        void selectItens(Scene *);
        bool deleteItens(Scene *);
        void selectAdjacentVertices(Scene *);
        void selectAdjacentEdges(Scene *);
        void selectAdjacentFaces(Scene *);
        void selectAdjacentSolids(Scene *);
        void repopulate(Scene *, bool);

    private:
        wxTreeItemId root;//, rootFaces, rootSolid;
};

#endif
